package backend.model.charisma;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Embeddable
public class CharismaWorkLogCompoundKey implements Serializable{

    @Column(name = "Marca")
    private String identificationCard;

    @Temporal(TemporalType.DATE)
    @Column(name = "Data")
    private Date date;

    public CharismaWorkLogCompoundKey(String identificationCard, Date date) {
        this.identificationCard = identificationCard;
        this.date = date;
    }

    public CharismaWorkLogCompoundKey() {
    }

    public String getIdentificationCard() {
        return identificationCard;
    }

    public void setIdentificationCard(String identificationCard) {
        this.identificationCard = identificationCard;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}